package proxy

import "net/http"

type ModelServiceProxy interface {
	GenerateRequest(apiKey string, originalRequestBody []byte, originalRequest *http.Request) (*http.Request, error)

	ForwardRequest(req *http.Request) (*http.Response, error)

	StreamResponse(writer http.ResponseWriter, resp *http.Response) error
}

type ModelServiceConnPool interface {
	GetOneAvailableConn() (*http.Client, error)
}
